//
//  AnatomyViewController.m
//  NCMM
//
//  Created by John Kline on 10/9/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import "AnatomyViewController.h"
#import "Fish1View.h"

@implementation AnatomyViewController

 // The designated initializer.  Override if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad.
/*
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization.
    }
    return self;
}
*/

/*
// Implement loadView to create a view hierarchy programmatically, without using a nib.
- (void)loadView {
}
*/


// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
- (void)viewDidLoad {
	[super viewDidLoad];
	[self setView:[[[UIView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]] autorelease]];
    
    UIImageView *background = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"firstFish.png"]];
    [self.view addSubview:background];
    
	UIView *fish1View = [[Fish1View alloc] initWithFrame:CGRectMake(0, 0, 1024, 768)];
	[self.view  addSubview:fish1View]; 
    [fish1View release];
    //NSLog(@"Mouth center: %f, %f", mouth.center.x, mouth.center.y);
}



- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
    // Overriden to allow any orientation.
    return YES;
}


- (void)didReceiveMemoryWarning {
    // Releases the view if it doesn't have a superview.
    [super didReceiveMemoryWarning];
    
    // Release any cached data, images, etc. that aren't in use.
}


- (void)viewDidUnload {
    [super viewDidUnload];
    // Release any retained subviews of the main view.
    // e.g. self.myOutlet = nil;
}


- (void)dealloc {
    [super dealloc];
}

@end
